<?php

$data = array('msg' => null, 'type' => 'model', 'table' => 'models');

$data['search_fields'] = array(
  'category',
  'maker',
  'model'
);

$data['list_fields'] = array(
  'category_id',
  'maker_id'
);

$data['joins'] = array(
    'makers',
    'categories'
);

$data['join_fields'] = array(
    '`maker_id`=`makers`.`id`',
    '`category_id`=`categories`.`id`'
);

$data['order'] = 'category, maker, model';

?>
